package br.com.alugargaragem.ui.stripes.converter;

import java.util.Collection;
import java.util.Locale;

import net.sourceforge.stripes.validation.TypeConverter;
import net.sourceforge.stripes.validation.ValidationError;
import br.com.alugargaragem.domain.vo.Password;

public class PasswordConverter implements TypeConverter<Password> {

	@Override
	public Password convert(String input, Class<? extends Password> targetType,
			Collection<ValidationError> errors) {
		return new Password(input);
	}

	@Override
	public void setLocale(Locale locale) {
		// TODO Auto-generated method stub

	}

}
